/*
 * Copyright (c) 2015 elion All Rights Reserved.
 */
package com.guoyu.project.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: xblibo Date: 2015/5/23 Time: 9:15
 */
public abstract class BaseModel implements Serializable {
    /**
     * 记录id
     */
    protected int id;
    /**
     * 创建时间
     */
    protected Date createTime = new Date();
    /**
     * 修改时间
     */
    protected Date updateTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
